<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>Blog - {% block title %}{% endblock %}</title>
    <link rel="icon" sizes="16x16" href="{{ asset('favicon.ico') }}" />
    <link rel="stylesheet" href="{{ asset('bundles/vavilenfirst/css/style.css') }}" />
</head>
<body>
<div id="symfony-wrapper">
    <div id="symfony-header">
        <a href="{{ path('index') }}">
            <img src="{{ asset('bundles/acmedemo/images/logo.gif') }}" alt="Symfony logo" />
        </a>
    </div>

    {% for flashMessage in app.session.flashbag.get('notice') %}
        <div class="flash-message">
            <em>Notice</em>: {{ flashMessage }}
        </div>
    {% endfor %}

    {% block content_header %}
        <ul id="menu">
            <li><a href="{{ path('index') }}">Home</a></li>
            <li><a href="{{ path('admin') }}">Admin</a></li>
        </ul>
        <div style="clear: both"></div>
    {% endblock %}

    <div class="symfony-content">
        {% block admin_nav %}
        {% endblock %}
        {% block content %}
        {% endblock %}
    </div>

</div>
</body>
</html>
